package com.haircut.sys.constant;

public class CacheConstants {
    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 验证码有效期（分钟）
     */
    public static final Integer CAPTCHA_EXPIRATION = 2;


    /**
     * 令牌前缀
     */
    public static final String LOGIN_USER_KEY = "login_user_key";

    /**
     * 登录用户 redis key
     */
    public static final String MANAGER_LOGIN_TOKEN_KEY = "manager_login_tokens:{}";


    /**
     * 令牌前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";
}
